package com.atXiao.video.service;

import com.atXiao.video.common.entity.ResBody;
import com.atXiao.video.entity.Subscribe;
import com.atXiao.video.entity.req.subscribe.SubscribeReq;
import com.atXiao.video.entity.resp.notify.NotifyResp;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lixiaoxiao
 * @since 2021-03-17
 */
public interface SubscribeService extends IService<Subscribe> {

    ResBody followerUser(SubscribeReq subscribeReq);


    /**
     * 获取通知的消息
     * @return
     */
    NotifyResp getNotifyMsg(String youtuber);


    void clearNotifyMsg(String youtuber);
}
